package org.leo.dm.component.util;

import java.util.HashMap;
import java.util.Map;

/**
 * 
 * Created on 2016年2月17日
 * <p> 
 * Description db方式写组件的帮助类
 * <p> 
 * Copyright neusoft (c) 2015 .
 * 
 * @author xiao_h 
 *
 */
public class DbWriteHelper {

	/**
	 * 已执行数据量
	 */
	protected int alreadyRunCount;

	public void setAlreadyRunCount(int alreadyRunCountIn) {
		this.alreadyRunCount = alreadyRunCountIn;
	}

	public int getAlreadyRunCount() {
		return this.alreadyRunCount;
	}

	/**
	 * 表名-已执行数据量
	 */
	private Map<String, Integer> tableCount = new HashMap<String, Integer>();

	public Map<String, Integer> getTableCount() {
		return tableCount;
	}

	public void setTableCount(Map<String, Integer> tableCount) {
		this.tableCount = tableCount;
	}

}
